<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: opencv2/cudalegacy.hpp File Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_44d7cb463ffb7798c5e13a419667eabf.html">opencv2</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">cudalegacy.hpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="../../d8/dd1/modules_2core_2include_2opencv2_2core_2cuda_8hpp.html">opencv2/core/cuda.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d9/d96/NCV_8hpp.html">opencv2/cudalegacy/NCV.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d5/d2c/NPP__staging_8hpp.html">opencv2/cudalegacy/NPP_staging.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../db/dfa/NCVPyramid_8hpp.html">opencv2/cudalegacy/NCVPyramid.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d0/d3c/NCVHaarObjectDetection_8hpp.html">opencv2/cudalegacy/NCVHaarObjectDetection.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d2/d84/NCVBroxOpticalFlow_8hpp.html">opencv2/cudalegacy/NCVBroxOpticalFlow.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../db/d73/background__segm_8hpp.html">opencv2/video/background_segm.hpp</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dd2/classcv_1_1cuda_1_1BackgroundSubtractorFGD.html">cv::cuda::BackgroundSubtractorFGD</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The class discriminates between foreground and background pixels by building and maintaining a model of the background.  <a href="../../d3/dd2/classcv_1_1cuda_1_1BackgroundSubtractorFGD.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/df2/classcv_1_1cuda_1_1BackgroundSubtractorGMG.html">cv::cuda::BackgroundSubtractorGMG</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Background/Foreground Segmentation <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html" title="This is a base class for all more or less complex algorithms in OpenCV. ">Algorithm</a>.  <a href="../../d5/df2/classcv_1_1cuda_1_1BackgroundSubtractorGMG.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/db2/classcv_1_1cuda_1_1FastOpticalFlowBM.html">cv::cuda::FastOpticalFlowBM</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/def/structcv_1_1cuda_1_1FGDParams.html">cv::cuda::FGDParams</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d77/classcv_1_1cuda_1_1ImagePyramid.html">cv::cuda::ImagePyramid</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:d2/d75/namespacecv"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></td></tr>
<tr class="memdesc:d2/d75/namespacecv"><td class="mdescLeft">&#160;</td><td class="mdescRight">"black box" representation of the file storage associated with a file on disk. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:d1/d1a/namespacecv_1_1cuda"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d1a/namespacecv_1_1cuda.html">cv::cuda</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga6b4b2e196ebed9c3a4b6c6330e6e4306"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc3/group__cudalegacy.html#ga6b4b2e196ebed9c3a4b6c6330e6e4306">cv::cuda::calcOpticalFlowBM</a> (const GpuMat &amp;prev, const GpuMat &amp;curr, Size block_size, Size shift_size, Size max_range, bool use_previous, GpuMat &amp;velx, GpuMat &amp;vely, GpuMat &amp;buf, Stream &amp;stream=Stream::Null())</td></tr>
<tr class="memdesc:ga6b4b2e196ebed9c3a4b6c6330e6e4306"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates optical flow for 2 images using block matching algorithm */.  <a href="../../d5/dc3/group__cudalegacy.html#ga6b4b2e196ebed9c3a4b6c6330e6e4306">More...</a><br /></td></tr>
<tr class="separator:ga6b4b2e196ebed9c3a4b6c6330e6e4306"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9cd8a37566d3c2f2bdd83f14eb96a57d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc3/group__cudalegacy.html#ga9cd8a37566d3c2f2bdd83f14eb96a57d">cv::cuda::connectivityMask</a> (const GpuMat &amp;image, GpuMat &amp;mask, const <a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">cv::Scalar</a> &amp;lo, const <a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">cv::Scalar</a> &amp;hi, Stream &amp;stream=Stream::Null())</td></tr>
<tr class="memdesc:ga9cd8a37566d3c2f2bdd83f14eb96a57d"><td class="mdescLeft">&#160;</td><td class="mdescRight">compute mask for Generalized Flood fill componetns labeling.  <a href="../../d5/dc3/group__cudalegacy.html#ga9cd8a37566d3c2f2bdd83f14eb96a57d">More...</a><br /></td></tr>
<tr class="separator:ga9cd8a37566d3c2f2bdd83f14eb96a57d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga56bc19f42734742cebf4f9b0837bc427"><td class="memItemLeft" align="right" valign="top">Ptr&lt; cuda::BackgroundSubtractorFGD &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc3/group__cudalegacy.html#ga56bc19f42734742cebf4f9b0837bc427">cv::cuda::createBackgroundSubtractorFGD</a> (const FGDParams &amp;params=FGDParams())</td></tr>
<tr class="memdesc:ga56bc19f42734742cebf4f9b0837bc427"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates FGD Background Subtractor.  <a href="../../d5/dc3/group__cudalegacy.html#ga56bc19f42734742cebf4f9b0837bc427">More...</a><br /></td></tr>
<tr class="separator:ga56bc19f42734742cebf4f9b0837bc427"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga87e2dcae3781a00327b42ed3920e502f"><td class="memItemLeft" align="right" valign="top">Ptr&lt; cuda::BackgroundSubtractorGMG &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc3/group__cudalegacy.html#ga87e2dcae3781a00327b42ed3920e502f">cv::cuda::createBackgroundSubtractorGMG</a> (int initializationFrames=120, double decisionThreshold=0.8)</td></tr>
<tr class="memdesc:ga87e2dcae3781a00327b42ed3920e502f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates GMG Background Subtractor.  <a href="../../d5/dc3/group__cudalegacy.html#ga87e2dcae3781a00327b42ed3920e502f">More...</a><br /></td></tr>
<tr class="separator:ga87e2dcae3781a00327b42ed3920e502f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeaa78f1925d1eb8605564ca159c7ae52"><td class="memItemLeft" align="right" valign="top">Ptr&lt; ImagePyramid &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaeaa78f1925d1eb8605564ca159c7ae52">cv::cuda::createImagePyramid</a> (InputArray img, int nLayers=-1, Stream &amp;stream=Stream::Null())</td></tr>
<tr class="separator:gaeaa78f1925d1eb8605564ca159c7ae52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0d285cee95d6c70d4976ef191726c1f1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc3/group__cudalegacy.html#ga0d285cee95d6c70d4976ef191726c1f1">cv::cuda::createOpticalFlowNeedleMap</a> (const GpuMat &amp;u, const GpuMat &amp;v, GpuMat &amp;vertex, GpuMat &amp;colors)</td></tr>
<tr class="separator:ga0d285cee95d6c70d4976ef191726c1f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1a20f8f216f4b0d415fcd5bd4f65d970"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc3/group__cudalegacy.html#ga1a20f8f216f4b0d415fcd5bd4f65d970">cv::cuda::graphcut</a> (GpuMat &amp;terminals, GpuMat &amp;leftTransp, GpuMat &amp;rightTransp, GpuMat &amp;top, GpuMat &amp;bottom, GpuMat &amp;labels, GpuMat &amp;buf, Stream &amp;stream=Stream::Null())</td></tr>
<tr class="memdesc:ga1a20f8f216f4b0d415fcd5bd4f65d970"><td class="mdescLeft">&#160;</td><td class="mdescRight">performs labeling via graph cuts of a 2D regular 4-connected graph.  <a href="../../d5/dc3/group__cudalegacy.html#ga1a20f8f216f4b0d415fcd5bd4f65d970">More...</a><br /></td></tr>
<tr class="separator:ga1a20f8f216f4b0d415fcd5bd4f65d970"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga13209445f4fa6666bde69562703790a4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc3/group__cudalegacy.html#ga13209445f4fa6666bde69562703790a4">cv::cuda::graphcut</a> (GpuMat &amp;terminals, GpuMat &amp;leftTransp, GpuMat &amp;rightTransp, GpuMat &amp;top, GpuMat &amp;topLeft, GpuMat &amp;topRight, GpuMat &amp;bottom, GpuMat &amp;bottomLeft, GpuMat &amp;bottomRight, GpuMat &amp;labels, GpuMat &amp;buf, Stream &amp;stream=Stream::Null())</td></tr>
<tr class="memdesc:ga13209445f4fa6666bde69562703790a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">performs labeling via graph cuts of a 2D regular 8-connected graph.  <a href="../../d5/dc3/group__cudalegacy.html#ga13209445f4fa6666bde69562703790a4">More...</a><br /></td></tr>
<tr class="separator:ga13209445f4fa6666bde69562703790a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga03c554591bbb19e09624feb188525256"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc3/group__cudalegacy.html#ga03c554591bbb19e09624feb188525256">cv::cuda::interpolateFrames</a> (const GpuMat &amp;frame0, const GpuMat &amp;frame1, const GpuMat &amp;fu, const GpuMat &amp;fv, const GpuMat &amp;bu, const GpuMat &amp;bv, float pos, GpuMat &amp;newFrame, GpuMat &amp;buf, Stream &amp;stream=Stream::Null())</td></tr>
<tr class="memdesc:ga03c554591bbb19e09624feb188525256"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interpolates frames (images) using provided optical flow (displacement field).  <a href="../../d5/dc3/group__cudalegacy.html#ga03c554591bbb19e09624feb188525256">More...</a><br /></td></tr>
<tr class="separator:ga03c554591bbb19e09624feb188525256"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga92b4e167cd92db8a9e62e7c2450e4363"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc3/group__cudalegacy.html#ga92b4e167cd92db8a9e62e7c2450e4363">cv::cuda::labelComponents</a> (const GpuMat &amp;mask, GpuMat &amp;components, int flags=0, Stream &amp;stream=Stream::Null())</td></tr>
<tr class="memdesc:ga92b4e167cd92db8a9e62e7c2450e4363"><td class="mdescLeft">&#160;</td><td class="mdescRight">performs connected componnents labeling.  <a href="../../d5/dc3/group__cudalegacy.html#ga92b4e167cd92db8a9e62e7c2450e4363">More...</a><br /></td></tr>
<tr class="separator:ga92b4e167cd92db8a9e62e7c2450e4363"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabf8ec08fb71c5c3402cf7bb72e078d43"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gabf8ec08fb71c5c3402cf7bb72e078d43">cv::cuda::projectPoints</a> (const GpuMat &amp;src, const Mat &amp;rvec, const Mat &amp;tvec, const Mat &amp;camera_mat, const Mat &amp;dist_coef, GpuMat &amp;dst, Stream &amp;stream=Stream::Null())</td></tr>
<tr class="separator:gabf8ec08fb71c5c3402cf7bb72e078d43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga585fcff4132c58f83132e72df5bab179"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc3/group__cudalegacy.html#ga585fcff4132c58f83132e72df5bab179">cv::cuda::solvePnPRansac</a> (const Mat &amp;object, const Mat &amp;image, const Mat &amp;camera_mat, const Mat &amp;dist_coef, Mat &amp;rvec, Mat &amp;tvec, bool use_extrinsic_guess=false, int num_iters=100, float max_dist=8.0, int min_inlier_count=100, std::vector&lt; int &gt; *inliers=NULL)</td></tr>
<tr class="memdesc:ga585fcff4132c58f83132e72df5bab179"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the object pose from 3D-2D point correspondences.  <a href="../../d5/dc3/group__cudalegacy.html#ga585fcff4132c58f83132e72df5bab179">More...</a><br /></td></tr>
<tr class="separator:ga585fcff4132c58f83132e72df5bab179"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab6ea2bd4162efd48f2b027d21d0b7f56"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gab6ea2bd4162efd48f2b027d21d0b7f56">cv::cuda::transformPoints</a> (const GpuMat &amp;src, const Mat &amp;rvec, const Mat &amp;tvec, GpuMat &amp;dst, Stream &amp;stream=Stream::Null())</td></tr>
<tr class="separator:gab6ea2bd4162efd48f2b027d21d0b7f56"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:33 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
